projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34d85f0
)
toolbar: don't leak the sibling path
author
Cosimo Cecchi
<cosimoc@gnome.org>
Fri, 1 Jul 2011 16:33:26 +0000
(12:33 -0400)
committer
Cosimo Cecchi
<cosimoc@gnome.org>
Fri, 1 Jul 2011 16:33:26 +0000
(12:33 -0400)
gtk/gtktoolbar.c
patch
|
blob
|
history
diff --git
a/gtk/gtktoolbar.c
b/gtk/gtktoolbar.c
index 1af2a42f186510f7f2ea42fbaa90931f65ec392f..737a5f065a5e2d5c1b6a275fcd710b12ea6ffd7f 100644
(file)
--- a/
gtk/gtktoolbar.c
+++ b/
gtk/gtktoolbar.c
@@
-3137,6
+3137,12
@@
gtk_toolbar_finalize (GObject *object)
if (priv->arrow_button)
gtk_widget_unparent (priv->arrow_button);
+ if (priv->sibling_path != NULL)
+ {
+ gtk_widget_path_unref (priv->sibling_path);
+ priv->sibling_path = NULL;
+ }
+
for (list = priv->content; list != NULL; list = list->next)
{
ToolbarContent *content = list->data;